﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Site2.Master" AutoEventWireup="true"
    CodeBehind="ForgotPassword.aspx.cs" Inherits="CDOP.ForgotPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <label>
        Reset Password Using Email</label>
    <br />
    <label>
        Please enter the email address you used to create your account, and a link will
        be sent to you to reset your password.</label>
    <br />
    <br />
    <asp:Table ID="tblEmail" runat="server">
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lblEmail" runat="server" Text="Enter your email address" />
            </asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="txtEmail" ID="rfvEmail" runat="server"
                    EnableClientScript="true" ErrorMessage="Email is requied" Text="*"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="regVEmail" ControlToValidate="txtEmail" runat="server"
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Enter a correct email address"></asp:RegularExpressionValidator>
            </asp:TableCell></asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="BtnResetClick" />
            </asp:TableCell></asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="lblStatus" runat="server" />
            </asp:TableCell></asp:TableRow>
    </asp:Table>
</asp:Content>
